﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace StateMachineCompiler
{
	public class CommandChannel
	{
        private Action<string> channel;
        public CommandChannel(Action<string> channel)
        {
            this.channel = channel;
        }

		public void Send(string code)
		{
            this.channel(code);
		}
	}
}
